package springFour;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;



@Service
public class UserService {
	@Resource
	private DeptDao deptDao;
	@Autowired
	@Qualifier("userDaoOneImpl")
	private UserDao userDao;
	public void deptDao() {
		deptDao.deptDao();
	}
	public void userDao() {
		userDao.login();
	}
	
	
}
